package com.bRoom.pojo;

import java.util.Date;

public class OrderItem {
    private Integer itemId;

    private Integer userId;

    private Integer roomId;

    private Integer orderId;

    private String roomName;

    private String roomImg;

    private Integer currentPrice;

    private Integer quantity;

    private Date createtime;

    private Date updatetime;

    public OrderItem(Integer itemId, Integer userId, Integer roomId, Integer orderId, String roomName, String roomImg, Integer currentPrice, Integer quantity, Date createtime, Date updatetime) {
        this.itemId = itemId;
        this.userId = userId;
        this.roomId = roomId;
        this.orderId = orderId;
        this.roomName = roomName;
        this.roomImg = roomImg;
        this.currentPrice = currentPrice;
        this.quantity = quantity;
        this.createtime = createtime;
        this.updatetime = updatetime;
    }

    public OrderItem() {
        super();
    }

    public Integer getItemId() {
        return itemId;
    }

    public void setItemId(Integer itemId) {
        this.itemId = itemId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getRoomId() {
        return roomId;
    }

    public void setRoomId(Integer roomId) {
        this.roomId = roomId;
    }

    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public String getRoomName() {
        return roomName;
    }

    public void setRoomName(String roomName) {
        this.roomName = roomName == null ? null : roomName.trim();
    }

    public String getRoomImg() {
        return roomImg;
    }

    public void setRoomImg(String roomImg) {
        this.roomImg = roomImg == null ? null : roomImg.trim();
    }

    public Integer getCurrentPrice() {
        return currentPrice;
    }

    public void setCurrentPrice(Integer currentPrice) {
        this.currentPrice = currentPrice;
    }

    public Integer getQuantity() {
        return quantity;
    }

    public void setQuantity(Integer quantity) {
        this.quantity = quantity;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Date getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(Date updatetime) {
        this.updatetime = updatetime;
    }
}